#include "QNode.h"

int main()
{
	Queue q;
	Queueinit(&q);
	Queuepush(&q, 1);
	Queuepush(&q, 2);
	Queuepush(&q, 3);
	Queuepush(&q, 4);
	Queuepush(&q, 5);
	Queuepop(&q);
	Queuepush(&q, 6);

	while (!QueueEmpty(&q))
	{
		printf("%d ", QueueFront(&q));
		Queuepop(&q);
	}
	printf("\n");
	QueueDestroy(&q);
	return 0;
}